
// #ifndef VUE3
Vue.prototype.$global = {  
    // 定义你的全局变量  
    shopId: null,
    token: null  
}; 
import Vue from 'vue'
import App from './App'
import uView from '@/uni_modules/uview-ui'
Vue.use(uView)
Vue.config.productionTip = false

App.mpType = 'app'

const app = new Vue({
    ...App
})
app.$mount()
// #endif

// #ifdef VUE3
Vue.prototype.$global = {  
    // 定义你的全局变量  
    shopId: 1,  
    token: 123456  
}; 
import { createSSRApp } from 'vue'
import App from './App.vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif
